<?php
	include_once("parser.php");
	
	class DummyParser extends Parser {
		
		public $url = "http://youadummy.org";
		public $name = "Dummy";
		
		function scrapePosts() {
			$posts = array();
			for($i=0; $i<10; $i++){
				$post = new Post();
				$post->content = "I am a dummy ".$i;
				$post->image = "blank.jpg";
				$post->rank = ($i + 1);
				$post->url = "http://youadummy.org/".$i;
				$post->parent = $this->name;
				array_push($posts, $post);
			}
			return $posts;
			
		}
	}
?>